package com.example.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("设备保养记录分页dto")
public class KeepRecordPageDto {
    @ApiModelProperty("页码,必须")
    private int page;
    @ApiModelProperty("页大小，必须")
    private int pageSize;
    @ApiModelProperty(value = "当前或历史记录，1当前，2历史，必须",example = "1")
    private Integer status;
    @ApiModelProperty(value = "计划id，精确查询，可选",example = "1")
    private Integer planId;
    @ApiModelProperty(value = "保养记录id，精确查询，可选",example = "1")
    private Integer recordId;
    @ApiModelProperty(value = "模号，精确查询，可选",example = "1")
    private Integer moudleId;
    @ApiModelProperty(value = "记录时间，精确查询日期之后，可选")
    private LocalDateTime updateTime;

}
